package com.template;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication              //表明是springboot应用
@MapperScan("com.template.mapper")  //扫描mybatis接口
public class APP {

    //启动入口
    public static void main(String[] args) {
        //启动springboot
        SpringApplication.run(APP.class,args);
    }
}
